package main

import (
	"fmt"
	"log"
	"net/http"
	"os"
)

func main() {
	http.HandleFunc("/grab", NewCASRedPackets().GrabHandler)
	fmt.Fprintf(os.Stdout, "red packets server started on http://127.0.0.1:7001")
	log.Fatal(http.ListenAndServe("127.0.0.1:7001", nil))
}


